<div class="module module-news-detail">
    <div class="title">
        <h1><a href="<?php echo current_url();?>" title="<?php echo $news_check['Name'];?>"><?php echo $news_check['Name'];?></a></h1>
        <div class="clear-both"></div>
    </div>
    <div class="content">
        <div class="content-main"><?php echo $news_check['MainContent'];?></div>
        <div class="content-img"><img src="<?php echo $news_check['Img'];?>" alt="<?php echo $news_check['Name'];?>" title="<?php echo $news_check['Name'];?>"/></div>
        <div class="content-detail"><?php echo $news_check['Content'];?></div>
        <div class="content-tags">
            <?php
                if($news_check['Tags']){
                    $arrTags = explode(',',$news_check['Tags']);
                    echo '<span class="bold">Tags: </span>';
                    $stt = 1;
                    foreach($arrTags as $tag){
                        if($stt > 1)
                            echo ', ';
                        echo '<a href="'.base_url()._setURL($tag).'-ntags.html" title="'.$tags.'">'.$tag.'</a>'; 
                        ++$stt;
                    }
                }
            ?>
        </div>
        <div class="content-similar">
            <div class="miniTit"><h2><a href="<?php echo base_url()._setURL($news_check['MName'])."-mnews-".$news_check['Menu'].".html";?>" title="<?php echo $news_check['MName'];?>"><?php echo $news_check['MName'];?></a></h2></div>
            <div class="miniCon">
                <ul>
                <?php
                    $stt = "first";
                    foreach($news_list as $row){
                ?>
                        <li><h3><a class="tit" href="<?php echo base_url()._setURL($row['Name'])."-news-".$row['ID'].".html";?>" title="<?php echo $row['Name'];?>"><?php echo $row['Name'];?></a></h3></li>
                <?php
                        $stt = "last";
                    }
                ?>
                </ul>
            </div>
        </div>
        <div class="clear-both"></div>
    </div>
    <div class="clear-both"></div>
</div>